package top.ucat.x.system.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import top.ucat.box.starter.mybatis.plus.base.dto.AbstractBaseEntity;

import java.io.Serializable;


/**
 * <p>
 *
 * </p>
 *
 * @author Jun
 * @since 2019-06-19
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_ali_oss")
public class SysAliOss extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = -2507079421535110976L;

    private String stsServerUrl;
    private String bucketName;
    private String appKey;
    private String appSecret;
    //地域
    private String region;
    //地域节点
    private String endpoint;
    //实例阿里域名
    private String bucketDomain;
    //存储的域名
    private String accessDomain;
    //sts 角色权限
    private String roleArn;
    //sts 角色名
    private String roleName;
    //持续时间
    private int durationSeconds;
    //使用状态
    private boolean status;


}
